package org.weso.acota.services.to;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import org.weso.acota.to.feedback.FeedbackResource;

import com.sun.xml.txw2.annotation.XmlCDATA;
@XmlRootElement(name = "FeedResourceTO")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FeedResourceTO", 
propOrder = {
    "resource", 
    "docUri"
})

public class FeedResourceTO {
	FeedbackResource resource;
	String docUri;
	
	public FeedResourceTO() {
		super();
	}
	public FeedResourceTO(FeedbackResource resource, String docUri) {
		super();
		this.resource = resource;
		this.docUri = docUri;
	}
	public FeedbackResource getResource() {
		return resource;
	}
	
	public void setResource(FeedbackResource resource) {
		this.resource = resource;
	}
	public String getDocUri() {
		return docUri;
	}
	@XmlCDATA
	public void setDocUri(String docUri) {
		this.docUri = docUri;
	}	
}
